import request from '@/utils/myrequest'

export function getList(kvs) {
  return request({
    url: '/tdm/AlarmDetail/GetHoldRatioListGroupByLocation',
    method: 'get',
    kvs
  })
}

export function getHoldRatioList(kvs) {
  return request({
    url: '/tdm/AlarmDetail/GetHoldRatioList',
    method: 'get',
    kvs
  })
}

export function getDetailList(kvs) {
  return request({
    url: '/tdm/AlarmDetail/GetDetailList',
    method: 'get',
    kvs
  })
}

// 风险等级
export function getriskLevel(kvs) {
  return request({
    url: '/config/Attributes/GetSelectItemList',
    method: 'get',
    kvs
  })
}
